<template>
  <div class="pushinfo" v-html="pihtml">
    
  </div>
</template>
<script>
import { getPushInfo } from '@/api/user'
export default {
  data() {
    return {
      id: this.$route.query.id,
      pihtml: '',
    }
  },
  created() {
    const { id } = this.$route.query
    if (id) {
      getPushInfo(id).then(res => {
        this.pihtml = res.content
      })
    }
    
  },
}
</script>
<style lang="less">
.pushinfo{
  padding: .1rem .2rem;
  background: #fff;
  img{
    max-width: 100%;
  }
}
</style>